/*
 * Copyright 2010 Michael Nitsche
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package de.mnit.basis.sys.datei;

import java.io.FileInputStream;
import java.io.FileOutputStream;

import de.mnit.basis.fehler.system.F_Sys_Datei;
import de.mnit.basis.fehler.system.F_Sys_InOut;

public interface S_Datei extends S_DS_Element {

	String	gEndung();
	long	gGroesse();

	void	sEndung(String s);

	void	oeffnenStandard() throws F_Sys_Datei;
	void	kopieren(S_Ordner nach) throws F_Sys_InOut;
	void	verschieben(S_Ordner nach) throws F_Sys_Datei;
	void	anlegen() throws F_Sys_InOut;

//	void         		lesen(OutputStream ziel) throws F_Sys_Datei;
	FileInputStream		lesen() throws F_Sys_Datei;
	FileOutputStream	schreiben() throws F_Sys_Datei;
//	S_Datei				schreiben(InputStream quelle) throws F_Sys_Datei;

}
